package annotation;


import java.lang.reflect.Field;
import java.lang.reflect.Modifier;

@MyAnno(value = 2,name = "zhangsan",show3 = Person.xff,show4 = @MyAnno2,show5 = {"ki","uuy"})
public class Worker {

    public static void main(String[] args) {

        Class<Worker> workerClass = Worker.class;

        MyAnno annotation = workerClass.getAnnotation(MyAnno.class);


        String name = annotation.name();
        System.out.println(name);
    }

}
